From: Debian Science Maintainers Date: Wed, 16 Sep 2026 19:30:23 +0000 (+0100) Subject: Don't fail sum test on near-cancelling inputs X-Git-Tag: archive/raspbian/2.3.3+dfsg-5+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=06a283dffb81f2ae2289bb4baa5b91ec03572303;p=pandas.git Don't fail sum test on near-cancelling inputs Failed in 1.5.3+dfsg-11 after it happened to select an input that cancelled to ~1e-5 (on i386, so x87 excess precision might be involved) Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name sum_loosen_test_tolerance.patch --- diff --git a/pandas/tests/frame/test_reductions.py b/pandas/tests/frame/test_reductions.py index 8b450cec..2b025a4a 100644 --- a/pandas/tests/frame/test_reductions.py +++ b/pandas/tests/frame/test_reductions.py @@ -337,7 +337,7 @@ class TestDataFrameAnalytics: np.sum, mixed_float_frame.astype("float32"), check_dtype=False, - rtol=1e-3, + rtol=1e-3, atol=1e-3, ) assert_stat_op_calc(